package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.ExamQuestion;
import com.youlai.boot.system.model.form.ExamQuestionForm;

/**
 * 试题管理对象转换器
 *
 * @author youlaitech
 * @since 2025-07-17 09:22
 */
@Mapper(componentModel = "spring")
public interface ExamQuestionConverter{

    ExamQuestionForm toForm(ExamQuestion entity);

    ExamQuestion toEntity(ExamQuestionForm formData);
}